package com.zs.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Description:
 *
 * @author: zsq-1186
 * Date: 2017-08-15-17:44
 */

@FeignClient(value = "CLIENT-HI",fallback = ServiceHiHystric.class)
public interface IHelloService {

    @RequestMapping(value = "/home",method = RequestMethod.GET)
    String sayHiFromClientOne(@RequestParam(value = "name") String name);
}
